package com.akai.service;

import com.akai.pojo.Article;
import com.akai.pojo.PageBean;

public interface ArticleService {
    //新增文章
    void  add(Article article);


    //条件分页列表查询
    PageBean<Article> list(Integer pageNum, Integer pageSize, Integer categoryId, String state);

    //获取
    Article getArticleDetail(Integer id);

    //gengxin
    void updateArticle(Article article);

    //删除
    Article deleteArticle(Integer id);
}
